/*
========================================================================
 Name        : EasyPlayerApplication.cpp
 Author      : Yupeng Song
 Copyright   : This is GUI hello world for Easy Symbian
 Description : 
========================================================================
*/

#include "EasyPlayerApplication.h"
#include "EasyPlayerDocument.h"

#include <eikstart.h>

/**
 * @brief Returns the application's UID (override from CApaApplication::AppDllUid())
 * @return UID for this application (KUidEasyPlayerApplication)
 */
TUid CEasyPlayerApplication::AppDllUid() const
	{
	return KUidEasyPlayerApplication;
	}

/**
 * @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
 * @return Pointer to the created document object (CEasyPlayerDocument)
 */
CApaDocument* CEasyPlayerApplication::CreateDocumentL()
	{
	return CEasyPlayerDocument::NewL( *this );
	}

/**
 *	@brief Called by the application framework to construct the application object
 *  @return The application (CEasyPlayerApplication)
 */	
LOCAL_C CApaApplication* NewApplication()
	{
	return new CEasyPlayerApplication;
	}

/**
* @brief This standard export is the entry point for all Series 60 applications
* @return error code
 */	
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}
	
